import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
//store 
import store from './store'

import './common/css/reset.css'

Vue.config.productionTip = false
Vue.use(ElementUI)

import axios from 'axios'
//在原型对象上加入 $axios 这个变量，这样每个组件使用时就不用再次声明使用
Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
